using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Controls_StageView : System.Web.UI.UserControl
{
	private int stageId;

	protected void Page_Load(object sender, EventArgs e)
	{
		
	}

	public void Reset()
	{
		this.stageId = -1;
		this.Name = "";
		this.Description = "";
		this.Priority = 3;
	}

	public string Name
	{
		get { return this.txtName.Text; }
		set { this.txtName.Text = value; }
	}

	public string Description
	{
		get { return this.txtDescription.Text; }
		set { this.txtDescription.Text = value; }
	}

	public int Priority
	{
		get { return this.ratStage.CurrentRating; }
		set { this.ratStage.CurrentRating = value; }
	}

	public int StageId
	{
		get { return this.stageId; }
		set { this.stageId = value; }
	}

	public int Width
	{
		get { return int.Parse(this.tblMain.Width); }
		set { this.tblMain.Width = value.ToString(); }
	}
}
